<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../org/angular.min.js"></script>
    <link rel="stylesheet" href="../org/bootstrap.min.css">
    <style>
        .mobile {
            border: solid 1px #999999;
            height: 500px;
            display: flex;
        }

        .mobile dl {
            margin: 0px;
            padding: 0px;
            display: flex;
            flex: 1;
            flex-direction: column-reverse;
        }

        .mobile dl dt {
            background: #999999;
            color: #ffffff;
            height: 30px;
            text-align: center;
            border: solid 1px #f3f3f3;
            cursor: pointer;
            line-height: 2em;
        }

        .mobile dl dd {
            display: flex;
            flex-direction: column;
        }

        .mobile dl dd a {
            border: solid 1px #f3f3f3;
            text-align: center;
            padding: 6px;
            text-decoration: none;
        }
    </style>
</head>
<body>

<div ng-app="hd" ng-controller="ctrl">
    <form action="" method="post" class="form-horizontal" role="form">
        <div class="container">
            <div class="row">
                <div class="col-xs-4" class="app">
                    <div class="mobile">
                        <dl>
                            <dt>电影</dt>
                            <dd>
                                <a href="#">赤壁</a>
                                <a href="#">毛泽东</a>
                                <a href="#">赤壁</a>
                                <a href="#">毛泽东</a>
                                <a href="#">赤壁</a>
                                <a href="#">毛泽东</a>
                                <a href="#">赤壁</a>
                                <a href="#">毛泽东</a>
                            </dd>
                        </dl>
                        <dl>
                            <dt>游戏</dt>
                            <dd>
                                <a href="#">dota</a>
                                <a href="#">lol</a>
                            </dd>
                        </dl>
                        <dl>
                            <dt>游戏</dt>
                            <dd>
                                <a href="#">dota</a>
                                <a href="#">lol</a>
                            </dd>
                        </dl>
                    </div>
                </div>
                <div class="col-xs-8">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h3 class="panel-title">编辑</h3>
                        </div>
                        <div class="panel-body">
                            <div class="panel panel-default">
                                <div class="panel-body">
                                    <div class="form-group">
                                        <label for="" class="col-sm-2 control-label">标题</label>
                                        <div class="col-sm-10">
                                            <input type="text" class="form-control" id="" placeholder="">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="" class="col-sm-2 control-label">链接</label>
                                        <div class="col-sm-10">
                                            <input type="text" class="form-control" id="" placeholder="">
                                        </div>
                                    </div>

                                    <div class="panel panel-default">
                                        <div class="panel-body">
                                            <div class="form-group">
                                                <label for="" class="col-sm-2 control-label">标题</label>
                                                <div class="col-sm-10">
                                                    <input type="text" class="form-control" id="" placeholder="">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="" class="col-sm-2 control-label">链接</label>
                                                <div class="col-sm-10">
                                                    <input type="text" class="form-control" id="" placeholder="">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <button class="btn btn-info">添加菜单</button>
                                </div>
                            </div>
                            <button class="btn btn-success">添加一级菜单</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

</div>
</div>

<script>
    var m = angular.module('hd', []);
    m.controller('ctrl', ['$scope', function ($scope) {

    }]);
</script>


</body>
</html>

